package com.milotnt.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Schema(description = "社区帖子实体类")
@TableName("community_post")
@Data
public class CommunityPostEntity extends BaseEntity{

    @Schema(description = "关联会员账号ID")
    @TableField("member_id")
    private Long memberId;

    @Schema(description = "帖子内容")
    @TableField("content")
    private String content;

    @Schema(description = "图片地址")
    @TableField("image_url")
    private String imageUrl;

    @Schema(description = "会员名称")
    private String memberName;
}
